package ru.spbu.mm.diploma.server.dao;

import ru.spbu.mm.diploma.common.entity.Project;

import java.util.List;

/**
 *
 */
public interface IProjectDAO {
    Project getProjectWithId(Integer id);

    Project getProjectWithName(String name);

    void addProject(Project p);

    void updateProject(Project p);

    Project deleteProject(Project p);

    List<Project> getProjects();
}
